package lab01;

public class Test11 {
    static int h=0;

    public static void main(String[] args) {
        for (int i=1;i<=100;i++){
                    new Test11().printPrimeNum(i);
            if (Test11.h%5==0){
                System.out.println();
            }
        }

    }

    public void printPrimeNum(int num){
        if (num%2==0&&num!=2){}
        else if (num%3==0&&num!=3){}
        else if (num%5==0&&num!=5){}
        else if (num%7==0&&num!=7){}
        else if (num%11==0&&num!=11){}
        else {
            System.out.print(num+";");
            h++;
        }
    }
}
